package com.gold.gauss.dao;

import com.gold.gauss.model.GoldUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Gary on 2019-12-24.
 *
 * @author Gary
 * @version 0.0.1
 * @date 2019-12-24
 * @since 0.0.1
 */
@Mapper
public interface GoldUserDao {

    int create(GoldUser goldUser);

    int update(GoldUser goldUser);

    int delete(Long id);

    int batchDelete(Long[] ids);

    GoldUser find(Long id);

    List<GoldUser> list(GoldUser area);
}
